﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Microsoft.PowerShell.CmdletManagement"
    xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" 
    xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
    x:Class="Microsoft.PowerShell.CmdletManagement.HtmlViewWindow"
    Title="PowerShell Cmdlet Designer" Height="560" Width="825" 
    WindowStartupLocation="CenterScreen" 
    ShowInTaskbar="False" >
    <DockPanel>
        <StackPanel x:Name="CommitButtons" DockPanel.Dock="Bottom" Margin="0,10,0,0">
            <Rectangle Fill="{DynamicResource DialogBorderColor}" Height="1" Margin="0,0,0,3"/>
            <StackPanel Orientation="Horizontal"  HorizontalAlignment="Right" Margin="0,5,10,10" >
                <Button Click="Click_Close" x:Name="CloseButton"  Width="75" Content="Close" Height="23" Margin="0,0,0,0" />
            </StackPanel>
        </StackPanel>
        <Border 
            Margin="3,3,3,3"
            BorderBrush="{DynamicResource DialogBorderColor}" CornerRadius="5,5,5,5"
            BorderThickness="2">
            <wfi:WindowsFormsHost DockPanel.Dock="Left">
                <wf:WebBrowser x:Name="SpecViewBrowser" />
            </wfi:WindowsFormsHost>
        </Border>
    </DockPanel>
</Window>
